<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <h1>
        黄文强
    </h1>
    <h2>
        杭文强
    </h2> -->

    <!-- css 关键字 -->
    <div>
        <span>
            黄文强
        </span>
    </div>


    <div>
        <span class="huangwenqiang">
            黄文强扒行
        </span>
    </div>



</body>
<style>
    span {
        color: yellow;
        /* border: 20px solid green; */
    }

    .huangwenqiang {
        color: inherit;
    }

    h1 {
        color: red;
    }

    body h1 {
        color: purple;
    }

    a:link,
    a:visited {
        text-decoration: none;
    }
</style>

</html>